home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
graphics
/
frxfiles
/
frx.bas
next >
Wrap
BASIC Source File
|
1995-11-11
|
1KB
|
27 lines
Option Explicit
Declare Function GlobalFree Lib "Kernel" (ByVal hMem%) As Integer
Declare Function GlobalLock Lib "Kernel" (ByVal hMem%) As Long
Declare Function GlobalAlloc Lib "Kernel" (ByVal wFlags%, ByVal dwBytes&) As Integer
Declare Function hread Lib "Kernel" Alias "_hread" (ByVal hf%, ByVal hpvBuffer&, ByVal cbBuffer&) As Long
Declare Function hwrite Lib "Kernel" Alias "_hwrite" (ByVal hf%, ByVal hpvBuffer&, ByVal cbBuffer&) As Long
Declare Function GlobalUnlock Lib "Kernel" (ByVal hMem%) As Integer
Global Const GMEM_FIXED = &H0
Global Const GMEM_MOVEABLE = &H2
Global Const GMEM_NOCOMPACT = &H10
Global Const GMEM_NODISCARD = &H20
Global Const GMEM_ZEROINIT = &H40
Global Const GMEM_MODIFY = &H80
Global Const GMEM_DISCARDABLE = &H100
Global Const GMEM_NOT_BANKED = &H1000
Global Const GMEM_SHARE = &H2000
Global Const GMEM_DDESHARE = &H2000
Global Const GMEM_NOTIFY = &H4000
Global Const GMEM_LOWER = GMEM_NOT_BANKED
Global Const GHND = (GMEM_MOVEABLE Or GMEM_ZEROINIT)
Global Const GPTR = (GMEM_FIXED Or GMEM_ZEROINIT)
Global Const GMEM_DISCARDED = &H4000
Global Const GMEM_LOCKCOUNT = &HFF